package com.diy.sigmund.diycommon.designpatterns.adapterpattern.duck;

/**
 * 绿头鸭
 *
 * @author ylm-sigmund
 * @since 2022/2/9 16:39
 */
public class MallardDuck implements Duck {

    @Override
    public void quack() {
        System.out.println("quack");
    }

    @Override
    public void fly() {
        System.out.println("i'm flying");
    }
}
